.subpage-body {
  min-height: 100vh;
}

.nav a[aria-current="page"] {
  color: #fff;
}

.nav a[aria-current="page"]::after {
  width: 100%;
}

.subpage-main {
  position: relative;
  overflow: hidden;
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.75rem, 7vw, 5.5rem);
}

.subpage-hero::before,
.subpage-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(72px);
}

.subpage-hero::before {
  top: -18%;
  right: -10%;
  width: min(480px, 58vw);
  height: min(480px, 58vw);
  background: rgba(100, 130, 255, 0.3);
}

.subpage-hero::after {
  bottom: -20%;
  left: -12%;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: rgba(180, 90, 220, 0.18);
}

.subpage-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.subpage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(210, 220, 245, 0.92);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.subpage-title {
  max-width: 760px;
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 4.3vw + 0.4rem, 4.1rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.04em;
}

.subpage-lead {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1rem, 1.1vw + 0.72rem, 1.18rem);
  line-height: 1.75;
  color: rgba(174, 182, 205, 0.94);
}

.subpage-hero-card,
.subpage-card,
.subpage-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(90, 120, 220, 0.08);
}

.subpage-hero-card {
  padding: 1.35rem;
  border-radius: 26px;
}

.subpage-hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.subpage-hero-card__icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #3d52b8, #6b52d4);
  box-shadow: 0 0 28px rgba(100, 130, 255, 0.24);
}

.subpage-stat {
  display: grid;
  gap: 0.1rem;
  text-align: right;
}

.subpage-stat strong {
  font-size: 1.55rem;
  line-height: 1;
}

.subpage-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.subpage-hero-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.subpage-hero-card p {
  margin: 0;
  color: rgba(174, 182, 205, 0.9);
}

.subpage-section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.subpage-section--compact {
  padding-top: 0;
}

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.subpage-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subpage-card {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border-radius: 24px;
}

.subpage-card__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  color: rgba(230, 235, 255, 0.98);
  background: rgba(100, 130, 255, 0.14);
}

.subpage-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.subpage-card p,
.subpage-card li {
  color: rgba(174, 182, 205, 0.9);
}

.subpage-card p {
  margin: 0;
}

.subpage-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subpage-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.subpage-list i {
  margin-top: 0.25rem;
  color: rgba(130, 175, 255, 0.95);
}

.subpage-panel {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 28px;
}

.subpage-panel h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.subpage-panel p {
  color: rgba(174, 182, 205, 0.92);
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.subpage-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(128deg, #3d52b8, #5a42c0, #5d7ae0);
  box-shadow: 0 10px 32px rgba(55, 85, 190, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subpage-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(55, 85, 190, 0.34);
}

.subpage-button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(230, 235, 255, 0.95);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(8, 10, 18, 0.72);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(100, 130, 255, 0.18);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: rgba(174, 182, 205, 0.92);
}

.legal-flow {
  display: grid;
  gap: 1rem;
  counter-reset: legal;
}

.legal-card {
  position: relative;
  padding-left: clamp(3.3rem, 6vw, 4rem);
}

.legal-card::before {
  counter-increment: legal;
  content: counter(legal, decimal-leading-zero);
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(160, 190, 255, 0.7);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-field {
  display: grid;
  gap: 0.35rem;
}

.contact-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(220, 226, 245, 0.9);
}

.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
}

.contact-field textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  outline: none;
  border-color: rgba(130, 160, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(100, 130, 220, 0.18);
}

.subpage-footer-note {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: rgba(154, 160, 181, 0.9);
}

.auth-footer-min {
  padding: 1.15rem 0 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 6, 12, 0.55);
}

.auth-footer-min__inner {
  display: flex;
  max-width: 1400px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  font-size: 0.8rem;
  color: rgba(154, 162, 182, 0.88);
}

.auth-footer-min__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.auth-footer-min__links a {
  color: rgba(190, 200, 225, 0.88);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-footer-min__links a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .subpage-hero__inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .subpage-grid,
  .subpage-grid--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .subpage-hero {
    padding-top: 3rem;
  }

  .legal-card {
    padding-left: 1.25rem;
  }

  .legal-card::before {
    position: static;
    display: block;
    margin-bottom: 0.45rem;
  }
}
